<h1>Earned Revenue Report</h1>
<div class="form">
    <?php $form=$this->beginWidget('CActiveForm',array(
        'id'=>'earn-revenue-form',
        'method'=>'get'
    ));?>
    <div class="row">
        <label>Year</label>
        <select name="year">
            <?php foreach($yearList as $row):?>
            <option value="<?php echo $row['contractYear'];?>"><?php echo $row['contractYear'];?></option>
            <?php endforeach;?>
        </select>
    </div>
    
    <div class="row_buttons">
        <?php echo CHtml::submitButton('Submit'); ?>
    </div>
    <?php $this->endWidget(); ?>
</div>